
class StringBuilder :public Object{

public:
  char value[MAX];
  int index;


  StringBuilder(){

    for(int i=0; i<MAX;i++){

      value[i] = 0;
    }
    index = 0;
  }

 void append(char* str){

   int  n = strlen(str);
   for(int i=0; i< n;i++){

      value[index++]=*str++;
   }
 }
 void append(char c){

    value[index++]=c;
    
 }
 char* toString(){

  return value;
 }


};